<?php
//灯泡
class Light {
    public function on(){
        echo "\r\n灯泡被打开\r\n";
    }
    public function off(){
        echo "\r\n灯泡被关闭\r\n";
    }
}